Don't use hicolor as the default icon-theme
authorMatthias Clasen <mclasen@redhat.com>
Tue, 27 May 2014 03:15:53 +0000 (23:15 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 27 May 2014 03:17:32 +0000 (23:17 -0400)
The icontheme lookup code has a special-case that prefers builtin icons
if the theme name is "hicolor". This is problematic for our reftests,
which run in a barebones environment with not settings.

gtk/gtksettings.c

index 2fd210834c66f28801a903a0935b520b124047e6..382fecff30b1f86ecd08ca09cf41006ab26f227a 100644 (file)
@@ -449,7 +449,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                              g_param_spec_string ("gtk-icon-theme-name",
                                                                   P_("Icon Theme Name"),
                                                                   P_("Name of icon theme to use"),
-                                                                  "hicolor",
+                                                                  "Adwaita",
                                                                   GTK_PARAM_READWRITE),
                                              NULL);
   g_assert (result == PROP_ICON_THEME_NAME);